From: Richard M. Stallman Date: Wed, 25 Sep 1996 03:52:58 +0000 (+0000) Subject: (read_avail_input): Don't pass WAITP to read_socket_hook. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~82746 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=33e19c6e4bdb72f79102eed5fb445ac7a836795b;p=emacs.git (read_avail_input): Don't pass WAITP to read_socket_hook. --- diff --git a/src/keyboard.c b/src/keyboard.c index e55d1e06650..ad5c2492ccb 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -4787,8 +4787,7 @@ read_avail_input (expected) if (read_socket_hook) /* No need for FIONREAD or fcntl; just say don't wait. */ - nread = (*read_socket_hook) (input_fd, buf, KBD_BUFFER_SIZE, - expected, expected); + nread = (*read_socket_hook) (input_fd, buf, KBD_BUFFER_SIZE, expected); else { /* Using KBD_BUFFER_SIZE - 1 here avoids reading more than